Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PR template to reflect new merging strategy #1498

Merged

Conversation

alexcreasy
Copy link
Contributor

No description provided.

@@ -21,7 +21,7 @@

Self checklist (all need to be checked):
- [ ] The developer has manually tested the changes and verified that the changes work
- [ ] The commits have meaningful messages (squashes happen on merge by the bot).
- [ ] The developer has squashed their branch so it contains _only one commit_, with a meaningful message (don't do this if merging a feature branch into main or incubation).
Copy link
Member

@andrewballantyne andrewballantyne Jul 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we say "has been squashed meaningfully" (or some other wording that fits)? I wonder if we are too strict with the 1 commit methodology. Sometimes multiple commits are good if they are isolated chunks of work.

  • Implemented the table view
  • Updated the text
  • Review commits
  • tmp

These are bad commit messages, because they are effectively "you implemented the table with feedback". But you could have:

  • DS Flow support
  • Admin Checkbox to enable feature

Something more "these are two different things" sorta deal. I'm not super prescriptive for what we do with our commits, but I think we just need to get rid of those "I'm working on it" sorta commits. Which can be fixed with a git commit --amend instead of a git commit.

Copy link
Contributor Author

@alexcreasy alexcreasy Jul 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with one commit being too strict. How about something like:

"Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andrewballantyne changes made if you'd like to approve.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 11, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andrewballantyne

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit fe57ee5 into opendatahub-io:main Jul 11, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants